package 设计模式.Test.test01;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: kirito
 * @Date: 2024/4/3 13:12
 * @Description:
 *
 */

@Service
public class TTService {
    @Resource
    BusinessChainFactory businessChainFactory;

    public void testTT() {
        //创建并获取业务链
        BusinessChain businessChain = businessChainFactory.businessChain();
        businessChain.process("tt");
    }
}
